package cn.com.lsy.product.lepao.service;

import cn.com.lsy.product.lepao.model.entities.LpMessageTbl;
import cn.com.lsy.product.lepao.model.mt.entities.MessageInfoDto;

import java.util.List;

public interface IMessageService {

    List<LpMessageTbl> selectByPage(int start, int end, String startTime, String endTime, String searchCondition);

    int selectByCount(String startTime, String endTime, String searchCondition);

    MessageInfoDto selectMessageInfo(int id);

    boolean updateMessage(LpMessageTbl param);

    boolean insertUserMessage(int msgId, List<String> phoneList);

    boolean insertMessage(LpMessageTbl param);

    boolean delUserMessage(int msgId);

    boolean delMessage(int msgId);
}
